package com.info.zhiduoduo.repository.entity.company;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 智合规
 * @author
 * @since 2022/5/16
 */
@Data
@Accessors(chain = true)
@TableName("zdd_compliance_intelligence")
public class ComplianceIntelligence extends Model<ComplianceIntelligence> {

    private static final long serialVersionUID = 1L;

    /**
     * 智合规id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer Id;

    @TableField("compid")
    @ApiModelProperty("企业id")
    private Integer compid;

    @TableField("business_license")
    @ApiModelProperty("营业执照")
    private Integer businessLicense;

    @TableField("introduction_to_main_business")
    @ApiModelProperty("主营业务介绍")
    private Integer introductionToMainBusiness;

    @TableField("risk_control_restriction")
    @ApiModelProperty("风控限制行业")
    private Integer riskControlRestriction;

    @TableField("listed_company")
    @ApiModelProperty("是否上市公司")
    private Integer listedCompany;

    @TableField("employment_scale")
    @ApiModelProperty("用工规模")
    private Integer employmentScale;

    @TableField("business_circles")
    @ApiModelProperty("是否有工商")
    private Integer businessCircles;

    @TableField("registered_capital")
    @ApiModelProperty("注册资本和注册时间")
    private Integer registeredCapital;

    @TableField("enterprise_certification_opinions")
    @ApiModelProperty("企业认证意见")
    private String enterpriseCertificationOpinions;

    @TableField("front_desk_photos")
    @ApiModelProperty("公司前台照片")
    private Integer frontDeskPhotos;

    @TableField("billing_information")
    @ApiModelProperty("开票信息")
    private Integer billingInformation;

    @TableField("contact_information")
    @ApiModelProperty("联系人信息")
    private Integer contactInformation;

    @TableField("corporate_information")
    @ApiModelProperty("法人信息")
    private Integer corporateInformation;

    @TableField("company_website")
    @ApiModelProperty("公司网站")
    private Integer companyWebsite;

    @TableField("data_integrity_opinion")
    @ApiModelProperty("资料完整度意见")
    private String dataIntegrityOpinion;

    @TableField("requirement_description")
    @ApiModelProperty("众包需求描述")
    private Integer requirementDescription;

    @TableField("settlement_rules")
    @ApiModelProperty("结算规则")
    private Integer settlementRules;

    @TableField("five_consistent")
    @ApiModelProperty("五个一致")
    private Integer fiveConsistent;

    @TableField("maker_complaints")
    @ApiModelProperty("创客投诉")
    private Integer makerComplaints;

    @TableField("business_rationality_opinion")
    @ApiModelProperty("业务合理性意见")
    private String businessRationalityOpinion;

    @TableField("crowdsourcing_contract")
    @ApiModelProperty("众包合同")
    private Integer crowdsourcingContract;

    @TableField("personnel_compliance")
    @ApiModelProperty("人员合规")
    private Integer personnelCompliance;

    @TableField("issuing_rationality")
    @ApiModelProperty("发单合理性")
    private Integer issuingRationality;

    @TableField("compliance_opinion")
    @ApiModelProperty("项目合规度意见")
    private String complianceOpinion;

    @TableField("deliverables")
    @ApiModelProperty("交付物数量")
    private Integer deliverables;

    @TableField("authenticity_of_deliverables")
    @ApiModelProperty("交付物真实性")
    private Integer authenticityOfDeliverables;

    @TableField("acceptance_sheet")
    @ApiModelProperty("验收单")
    private Integer acceptanceSheet;

    @TableField("personnel_punch_in")
    @ApiModelProperty("人员打卡")
    private Integer personnelPunchIn;

    @TableField("evidence_chain_opinion")
    @ApiModelProperty("证据链完整度意见")
    private String evidenceChainOpinion;

    @TableField("total")
    @ApiModelProperty("总分")
    private Integer total;

    @TableField("publish")
    @ApiModelProperty("是否发布0：否1：是")
    private Integer Publish;

    @TableField("createtime")
    @ApiModelProperty("创建时间")
    private Date createtime;

    @TableField(update = "now()")
    private Date updatetime;

    @Override
    protected Serializable pkVal() { return this.Id; }
}
